const path = require('path')
const { merge } = require('webpack-merge');
const baseConfig = require('./webpack.base.conf.js');

const config = merge(baseConfig, {
  devServer: {
    contentBase: path.resolve(__dirname, '../dist'),
    compress: true,
    port: 3000,
    host: 'localhost',
    open: true
  },
  mode: 'development'
});

module.exports = config;
